<?php 
	require('configs/include.php');

	class c_constructor extends super_controller{
		public function display(){
			$data->id="1001";
			$data->name="Andres";
			$data->salary = 50000;
			$clerk = new clerk ($data);
			
			$this->engine->assign('title','Class Constructor');
			$this->engine->assign('clerk',$clerk);
			$this->engine->display('header.tpl');
			$this->engine->display('constructor.tpl');
			$this->engine->display('footer.tpl');
		}
		
		public function run(){
		 $this->display();
		}
	}
	$call =new c_constructor();
	$call -> run();
?>